package com;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author Jaime Junior
 */

public class LoginBean {

    /** Creates a new instance of LoginBean */

    private String login = "050";
    private String senha = "12345";

    public LoginBean() {
    }

    public String Logar(){
        if(login.equals("050")&& senha.equals("12345")){
            return "menu";
        }
        else
            return null;
    }

    /**
     * @return the login
     */
    public String getLogin() {
        return login;
    }

    /**
     * @param login the login to set
     */
    public void setLogin(String login) {
        this.login = login;
    }

    /**
     * @return the senha
     */
    public String getSenha() {
        return senha;
    }

    /**
     * @param senha the senha to set
     */
    public void setSenha(String senha) {
        this.senha = senha;
    }

}
